package atom.core0.exception.ext;

import org.apache.log4j.Logger;

import atom.core0.exception.BizOperException;

/**
 * <p>Title: </p>
 * <p>Description:</p>
 * <p>Copyright: Copyright (c) 2011.12</p>
 * @author hike_man
 * 操作异常 页面展示的时候，可以跳到特殊的页面，这样会更友好
 * @version 1.0
 */

public class OperTimeoutException extends BizOperException {
	private final static Logger logger = Logger.getLogger(OperTimeoutException.class);
	private static final long serialVersionUID = 1;

	public OperTimeoutException(Throwable cause) {
		super(cause);
	}
	public OperTimeoutException(String msg) {
		super(msg);
		logger.debug(msg);
	}
	public OperTimeoutException(String errorCode, String msg) {
		super(msg);
		_errorCode = errorCode;
	}
	public OperTimeoutException(String errorCode, String msg,String moduleCode,String subsystem) {
		super(msg);
		_errorCode = errorCode;
		_moduleCode = moduleCode;
		_subsystem = subsystem;	
		
	}
	public OperTimeoutException(Exception exception,String msg) {
		super(msg);
		_exception = exception;
		logger.debug(msg);
	}
	public OperTimeoutException(Exception exception,String errorCode, String msg) {
		super(msg);
		_errorCode = errorCode;
		_exception = exception;
	}
	public OperTimeoutException(Exception exception,String errorCode, String msg,String moduleCode,String subsystem) {
		super(msg);
		_errorCode = errorCode;
		_exception = exception;
		_moduleCode = moduleCode;
		_subsystem = subsystem;	
	}
	public OperTimeoutException() {}
	
	
	
}
